<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:65:"F:\www\www.ccig8.com/application/index\view\wap/user\inviter.html";i:1553226192;s:63:"F:\www\www.ccig8.com\application\index\view\wap\public\top.html";i:1544273159;s:65:"F:\www\www.ccig8.com\application\index\view\wap\public\layui.html";i:1532768594;s:64:"F:\www\www.ccig8.com\application\index\view\wap\public\hder.html";i:1553157262;}*/ ?>
<meta name="viewport" id="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<title><?php echo $config['title']; ?></title> 
<meta name="description" content=""> 
<meta name="keywords" content="">  
<link rel="stylesheet" type="text/css" href="/public/wap/css/style.css">
<script type="text/javascript" src="/public/wap/js/jquery.js"></script>
<script type="text/javascript" src="/public/wap/js/jquery.superslide.2.1.1.js"></script><link rel="stylesheet" type="text/css" href="/public/wap/css/user.css">
<script type="text/javascript" src="/public/wap/js/web.js"></script>
<link rel="stylesheet" type="text/css" href="/public/wap/css/public.css">
<link rel="icon" href="<?php ECHO '/'.APP_UPLOADSS.'/'; ?><?php echo $config['photo_img']; ?>"  type="image/x-icon">
<link rel="stylesheet" type="text/css" href="/public/wap/css/common.css">

</head>
<body>
<div class="top" id="top">
    <div class="kf">
	  <?php if($actionf != 1): ?>  <p><a class="sb-back" href="javascript:history.back(-1)" title="返回" style=" display: block; width: 40px;    height: 40px;
    margin: auto; background: url(/public/wap/images/arrow_left.png) no-repeat 15px center;float: left;  
    background-size: auto 16px;font-weight:bold;">
    </a>
    </p><?php endif; ?>
	
		<div style="display: block;width:100%; position: absolute;top: 0;left: 0;height: 40px; line-height: 40px;background:#FD8852;color:#FFF ; <?php if($actionf != 1): ?> padding-left: 50px;<?php endif; ?>">

			   <a href="/mobile" style="color:#FFF;margin-left:10px;font-size:14px"><b><?php echo $config['title']; ?></b></a>
		</div>  
		      
      <?php if(!$userid): ?> <p><a href="<?php echo url('index/login'); ?>"><b>登录</b></a><!--<a href="<?php echo url('index/reg'); ?>"><b>注册</b></a>--></p><?php else: ?><p>
			  <b style="color: #FFF;    margin-left: 10px;    font-size: 14px;    margin-right: 10px;"><?php $user=userarray();echo $user['name']; ?></b><a href="<?php echo url('index/logout'); ?>"><b>退出</b></a></p><?php endif; ?>
		        
     </div>
</div>
<style>
.pagination > li > a, .pagination > li > span{

height:30px;
}
</style>
<link href="/public/layui/css/layui.css" type="text/css" rel="stylesheet">
 <script type="text/javascript" src="/public/layui/layui.js"></script>
 <!-- <script src="/public/layui/layui.all.js"></script> -->
 <script>
  layui.use('laydate', function(){
  var laydate = layui.laydate;
  
  
  laydate.render({
    elem: '#stime' 
	,type: 'datetime'
  });

  
    });
 
 </script>
 <style>
 
 .layui-progress-big, .layui-progress-big .layui-progress-bar{
 
 
 }
 </style><link rel="stylesheet" type="text/css" href="/public/wap/css/userf.css">


<div class="user_zx_right">
                <div class="box">
                    <div class="tagMenu">
                        <ul class="menu">
                            <li <?php if($type == "1"): ?>class="current"<?php endif; ?>><a href="<?php echo url('user/inviter',array('type'=>'1')); ?>">推广链接</a></li>
                            <li <?php if($type == "2"): ?>class="current"<?php endif; ?>><a href="<?php echo url('user/inviter',array('type'=>'2')); ?>">推广记录</a></li>
                            <li <?php if($type == "3"): ?>class="current"<?php endif; ?>><a href="<?php echo url('user/inviter',array('type'=>'3')); ?>">下线分成</a></li>
                        </ul>
                        <div class="hite"><span id="account"></span></div>
                    </div>
                </div>

<?php if($type == '1'): ?>
  <style>
  #wemfff{ width: 100%;background-image:url(/ewm/ewm.jpg); background-repeat:no-repeat; background-size:100% 100%;-moz-background-size:100% 100%;    height: 100%;}

  </style>
  <script>
    $(function(){
     var wem=$(document).width();
     var wemimg= $('#wemimg').width();
      var num=(wem-wemimg)/2;
      $('#wemimg').css("left",num);
    
    })
  
  </script>
                                <div class="myinfo" style="padding: 5px; margin-bottom: 15px;background:#fff;">
                                  <div id="wemfff">
<p ><img id="wemimg" style=" width:20%;      position: absolute;
    top: 83%;
    left: 35%;
      max-width: 100px;
   -webkit-user-select: none;background-position: 0px 0px, 10px 10px;background-size: 20px 20px;background-image:linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%, #eee 100%),linear-gradient(45deg, #eee 25%, white 25%, white 75%, #eee 75%, #eee 100%);" src="<?php echo $urlf; ?>">
                                    </p></div>
              <div id="code"></div>
                </div>

<script>
$(function(){
var url='<?php echo $url; ?>';

tgajax(url);

})

function tgajax(url,num){

  $.ajax({
                        async:false,
                        url:"/vendor/ewm/ewm.php",
                        data:{'url':url},
                        type:'post',
                        dataType:'json',
                        success:function(res){
							
                          
                        },
                        error : function(XMLHttpRequest, textStatus, errorThrown) {
							
							
                           
                        }
                    });
					
					
					}

					</script>


<?php elseif($type == '2'): ?>


<div class="myinfo" style="padding: 20px; margin-bottom: 15px;background:#fff;">
                    <p style="margin:15px 0px;">尊敬的<?php echo $config['title']; ?>                       会员，以下是您在<?php echo $config['title']; ?> 的推广记录，敬请审阅！</p>
                    <p>截止 <?php echo date("Y-m-d H:i:s"); ?> </p>
  <p>团队充值：<?php echo $sumxjcz; ?> &nbsp;&nbsp;团队提现：<?php echo $sumxjtx; ?></p>

                    <div class="container-fluid">
                        <div class="row-fluid">
                            <table class="table table-striped table-bordered table-hover datatable dataTable" id="DataTables_Table_0">
                                <thead>
                                <tr>
                                    <th width="20%" class="sorting_desc">下线会员账号</th>
                                    <th width="20%" class="sorting">下线层级</th>
                                    <th width="20%" class="sorting">注册时间</th>
                                </tr>
                                </thead>
                                <tbody role="alert" aria-live="polite" aria-relevant="all">
								<?php if(is_array($log) || $log instanceof \think\Collection || $log instanceof \think\Paginator): $i = 0; $__LIST__ = $log;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                                                              <tr>
                                    <td width="20%" class=""><a href="<?php echo url('user/inviter',array('type'=>'2','ii'=>$ii,'id'=>$vo['id'])); ?>"><?php echo $vo['name']; ?>(<?php echo memberxj($vo['id']); ?>)</a></td>
                                    <td width="20%" class=""><?php echo $ii; ?></td>
                                    <td width="20%" class=""><?php echo $vo['regtime']; ?></td>
                                </tr>
								<?php endforeach; endif; else: echo "" ;endif; ?>
                                                                </tbody>
                            </table>
                        </div>
								 <div class="paging"> <span> <?php echo $log->render(); ?></span>            </div>
                    </div>
                </div>

<?php elseif($type == '3'): ?>
<div class="myinfo" style="padding: 20px; margin-bottom: 15px;background:#fff;">
<p style="margin:15px 0px;">尊敬的<?php echo $config['title']; ?>的会员，以下是您在<?php echo $config['title']; ?>的推广分成记录，敬请审阅！</p>
<p>截止 <?php echo date("Y-m-d H:i:s"); ?>  您的下线推广分成： <span style="color:#ff6600; font-size:14px;">￥<?php echo (isset($sum) && ($sum !== '')?$sum:'0.00'); ?></span>。</p>


<div class="container-fluid">
    <div class="row-fluid">
        <table class="table table-striped table-bordered table-hover datatable dataTable" id="DataTables_Table_0">
            <thead>
                <tr>
                    <th class="sorting_desc">分成时间</th>
                    <th class="sorting">下线会员账号</th>
                    <th class="sorting">抽成金额</th>
					<th class="sorting">备注</th>
                    <!-- <th>类型</th> -->
                    <th class="sorting">状态</th>
                </tr>
            </thead>
            <tbody role="alert" aria-live="polite" aria-relevant="all">
               <?php if(is_array($log) || $log instanceof \think\Collection || $log instanceof \think\Paginator): $i = 0; $__LIST__ = $log;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
										<tr>
                    <td class=""><?php echo $vo['addtime']; ?></td>
                    <td class=""><?php echo membername($vo['userid']); ?></td>
                    <td class=""><?php echo $vo['money']; ?></td>
					 <td class=""><?php echo $vo['notice']; ?></td>
                    <!-- <th>类型</th> -->
                    <td class="">成功</td>
                </tr>
				<?php endforeach; endif; else: echo "" ;endif; ?>
				            </tbody>
        </table>
    </div>
     <?php if(!(empty($log) || (($log instanceof \think\Collection || $log instanceof \think\Paginator ) && $log->isEmpty()))): ?>
    <div class="paging"> <span> <?php echo $log->render(); ?></span>            </div>
    <?php endif; ?>

</div>

</div>
<?php endif; ?>

            </div>
<div class="footer">
  <div class="footer-copyright">
    <div class="copyright">
     <!-- <p><?php echo $config['title']; ?>客服热线：<?php echo $config['tel']; ?> &nbsp;&nbsp;</p>-->
      <p>版权所有 © <?php echo $config['title']; ?> </p>
      <p class="right">
        <?php echo $config['icp']; ?></p>

        <div style="clear: both;"></div>
	<br><br>
    </div>
    
     </div>  
  </div>  





﻿﻿<link href="/public/wap/css/zzsc.css" rel="stylesheet" type="text/css"> 

<!-- </head>
<body> -->
<style>
.f_home.active {
    background: url(/public/wap/images/navhomeh.png) no-repeat top center;
    background-size: 21px;
    color: #D8232C;
	text-align: center;
    color: #9f9f9f;
    font-size: 12px;
    box-sizing: border-box;
    padding-top: 20px;
}
.f_account {
    background: url(/public/wap/images/navacc.png) no-repeat top center;
    background-size: 19px;
	text-align: center;
    color: #9f9f9f;
    font-size: 12px;
    box-sizing: border-box;
    padding-top: 20px;
}
.f_borrow {
    background: url(/public/wap/images/navborrow.png) no-repeat top center;
    background-size: 21px;
	text-align: center;
    color: #9f9f9f;
    font-size: 12px;
    box-sizing: border-box;
    padding-top: 20px;
}
.f_invest {
    background: url(/public/wap/images/navinvest.png) no-repeat top center;
    background-size: 21px;
		text-align: center;
    color: #9f9f9f;
    font-size: 12px;
    box-sizing: border-box;
    padding-top: 20px;
}
.f_touz {
    background: url(/public/wap/images/chongzhi.gif) no-repeat top center;
    background-size: 21px;
		text-align: center;
    color: #9f9f9f;
    font-size: 12px;
    box-sizing: border-box;
    padding-top: 20px;
}
.f_geng {
    background: url(/public/wap/images/shezhi.gif) no-repeat top center;
    background-size: 21px;
		text-align: center;
    color: #9f9f9f;
    font-size: 12px;
    box-sizing: border-box;
    padding-top: 20px;
}
.appdown {
	display: none;
   
    background-size: 40px;
    width: 100%;
	 max-width: 450px;
    height: 46px;
    position: fixed;
    bottom: 53px;
   
    z-index: 8888888;
    color: #fff;
    padding-left--: 55px;
    font-size: 12px;
}
.appBtn {
    background: #D8232C;
    padding: 2px 5px;
    color: #fff;
    border-radius: 5px;
    margin-top: 10px;
    margin-right-: 15px;
	FLOAT:RIGHT;
}
.appClose {
    font-size: 35px;
    font-weight: bold;
    line-height: 46px;
    padding-right: 10px;
    padding-left: 10px;
    cursor: pointer;
}

</style>
<div class="yb_conct">
  <div class="yb_bar">
    <ul>
      <li><a href="<?php echo url('index/index'); ?>" class="f_home active" id="menu1" title="电话">首页</a></li>
	   <li><a class="navAccount f_account " id="menu3" href="<?php echo url('user/index'); ?>" title="个人中心">个人中心</a></li>
	   <li><a  href="<?php echo url('index/zxkf'); ?>" class="f_borrow " id="menu4" title="即刻发送您的需求">在线客服</a></li>
	   <li><a  href="<?php echo url('openrate/index'); ?>" class="f_geng " id="menu5" title="更多">更多</a></li>
	   
    </ul>
  </div>
</div>



</body></html>